<template>
  <div class="outer">
    <Tab title="美食">
  <template #content>
        <img
          width="200"
          src="https://img2.baidu.com/it/u=2082735800,426564252&fm=253&fmt=auto&app=138&f=GIF?w=400&h=300"
          alt=""
        />
      </template>
       <template #footer>
        <span>火锅火锅</span>
        <span>真想真想</span>
      </template>
    </Tab>
    <Tab title="游戏">
    <template #content>
        <ul>
          <li>LoL</li>
          <li>CF</li>
          <li>DNF</li>
        </ul>
      </template>
         <template #footer>
        <a href="###">点我玩游戏</a>
        <a href="###">点我戒游戏</a>
      </template>
    </Tab>
    <Tab title="电影">
        <template #content>
        <video src="" width="200" autoplay muted></video>
      </template>
    </Tab>
  </div>
</template>

<script>

import Tab from "./components/tab.vue"
export default {
  name : "App",
  components : {
    Tab
  },
  data(){
    return {
      
    }
  }
}
</script>

<style>
.outer {
  width: 800px;
  display: flex;
  justify-content: space-between;
}
</style>